package cc.mrbird.febs.power.dao;

import cc.mrbird.febs.power.entity.OrgInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author MrBird
 */
public interface OrgInfoMapper extends BaseMapper<OrgInfo> {

    //分页查询组织机构
    IPage<List<Map>> getOrgInfoByPage(Page page, @Param("orgInfo") OrgInfo orgInfo);
}
